projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e4f76
)
fixed last paren indentation logic
author
Fabián Ezequiel Gallina
<fgallina@cuca>
Thu, 17 May 2012 03:03:17 +0000
(
00:03
-0300)
committer
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Thu, 17 May 2012 03:03:17 +0000
(
00:03
-0300)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 1cd1396f24f9c0ac94d52fdf1b227ec1606b5af7..4589a828ebed6da955a56137c884eed2b615d889 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-692,7
+692,7
@@
START is the buffer position where the sexp starts."
indentation))
('inside-paren
(or (save-excursion
- (
forward-comment 9999
)
+ (
skip-syntax-forward "\s" (line-end-position)
)
(when (and (looking-at (regexp-opt '(")" "]" "}")))
(not (forward-char 1))
(not (python-info-ppss-context 'paren)))